package org.csmzxy.class2333;
import java.io.FileInputStream;
public class Example07 {
    public static void main(String[] args) throws Exception {
        FileInputStream in = new
                FileInputStream("src\\file\\test01.txt");
        int b;
        while (true) {
            b = in.read();
            if(b == -1) {
                break;
            }
            System.out.println(b);
        }
        in.close();//释放资源
    }
}
